package com.smedi.ismedi.personnel.core.application.service;

import com.smedi.ismedi.personnel.core.domain.aggregatemodel.PersonSyncFromImis;

import java.util.List;
import java.util.Set;

/**
 * @Author: xulinjun
 * @Date: 2021-6-16 11:37
 */
public interface ImisSyncApplicationService {
    void doSync();

    List<PersonSyncFromImis> batchSavePerson(Set<Long> personIds, Long hrOrganizationId);

    List<PersonSyncFromImis> batchSavePersonToProjectOrganization(Set<Long> referencePersonIds, Long projectId, Long projectOrganizationId);
}
